package com.fs.ssm004.service;

import com.fs.ssm004.pojo.Course;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CourseService {
    List<Course> getAll();
    PageInfo<Course> getUsersByPage(Integer currentPage,
                                  Integer pageSize);
    Course getoneByCourseId(Integer c_id);
    boolean addOne(Course course);
    boolean removeOne(Course course);
    boolean modifyOne(Course course);

    List<Course> getCourseThatNameLike(String classname);
}
